/**
 * 
 */
package server.container;

/**
 * @author Christian
 * 
 */
public class Blocker {
	
	private long blockenbis = 0;
	
	private boolean probeAlarm = false;
	
	private String identifier = "";
	
	private boolean fms = false;
	
	public Blocker(String ident, long time, boolean pA, boolean fms) {

		this.identifier = ident;
		this.probeAlarm = pA;
		this.blockenbis = time;
		this.fms = fms;
	}
	
	/**
	 * @return the blockenbis
	 */
	public long getBlockenbis() {

		return blockenbis;
	}
	
	/**
	 * @param blockenbis
	 *            the blockenbis to set
	 */
	public void setBlockenbis(long blockenbis) {

		this.blockenbis = blockenbis;
	}
	
	/**
	 * @return the probeAlarm
	 */
	public boolean isProbeAlarm() {

		return probeAlarm;
	}
	
	/**
	 * @param probeAlarm
	 *            the probeAlarm to set
	 */
	public void setProbeAlarm(boolean probeAlarm) {

		this.probeAlarm = probeAlarm;
	}
	
	/**
	 * @return the identifier
	 */
	public String getIdentifier() {

		return identifier;
	}
	
	/**
	 * @param identifier
	 *            the identifier to set
	 */
	public void setIdentifier(String identifier) {

		this.identifier = identifier;
	}
	
	/**
	 * @return the fms
	 */
	public boolean isFms() {

		return fms;
	}
	
	/**
	 * @return the fms
	 */
	public boolean is5Ton() {

		return !fms;
	}
	
	/**
	 * @param fms
	 *            the fms to set
	 */
	public void setFms(boolean fms) {

		this.fms = fms;
	}
}
